<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="../css/bootstrap.css">
    <title>静态表单控件</title>
</head>
<body>
    <div class="container">
        <form>
            <div class="form-group row">
                <label class="col-sm-2 col-form-label">用户名</label>
                <!-- 静态表单控件：这个控件只能被选中和复制，不能修改里面的内容，而且boostrap默认的样式也会被移除 -->
                <!--readonly让控件只读，  .form-control-plaintext用于移除样式-->
                <input type="text" readonly  class="col-sm-10 form-control-plaintext" id="username" value="trou@qq.com">
            </div>
        </form>
    </div>
    
</body>
</html>